﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace ConceptCorporateAdmin
{
    public class DbCategorie : DbObject
    {
        private int id, idFather;
        private String nume;

        public DbCategorie() { }

        public DbCategorie(DataRow row)
        {
            base.loadFromDR(row, this);
        }

        protected override string getTableName()
        {
            return "categorii";
        }

        #region properties
        public int IdFather
        {
            get { return idFather; }
            set { idFather = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public String Nume
        {
            get { return nume; }
            set { nume = value; }
        }
        #endregion
    }
}
